<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>reactive</title>
</head>

<body>
    <script src="../node_modules/@vue/reactivity/dist/reactivity.global.js"></script>
    <script>
        let {
            reactive,
            shallowReactive,
            readonly,
            shallowReadonly
        } = VueReactivity;
        let data = {
            name: "zs",
            age: {
                num: 12
            }
        }
        let readonlyData = readonly(data);
        readonlyData.name = "ls";

    </script>
</body>

</html>